package com.brush.system.domain.req.sysuser;

import com.brush.common.core.domain.page.PageReq;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 功能描述
 *
 * @author tonneyyy
 */
@Getter
@Setter
@ApiModel(value = "用户请求对象")
public class SysUserReq extends PageReq {

    private Long userId;

    @ApiModelProperty(value = "用户名")
    private String userName;
    @ApiModelProperty(value = "手机号码")
    private String  phonenumber;

    @ApiModelProperty(value = "用户状态:0正常,1停用")
    private String status;

    @ApiModelProperty(value = "部门主键")
    private Long deptId;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "开始时间")
    private Date beginTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "结束时间")
    private Date endTime;


}
